/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package livingarea.Members.Factory;

import livingarea.LivingArea;
import livingarea.Members.AreaMember;
import livingarea.Members.Position;
import livingarea.Members.Predator;

/**
 *
 * @author Vitaliy Muzalevskiy
 */
public class PredatorFactory implements AreaMemberFactory {

    @Override
    public AreaMember create(LivingArea livingArea) {
        return new Predator(livingArea);
    }

    @Override
    public AreaMember create(LivingArea livingArea, Position position) {
        return new Predator(livingArea, position);
    }
    
}
